COMMAND ANY
  AtLocation 3
  IsNowhere 321
  PlusScore 5
END_COMMAND

COMMAND ANY
  AtLocation 35
  GoToRoom 34
  SendToRoom 310 34
END_COMMAND

COMMAND ANY
  IsCarrying 220
  VariableEquals 1 0
  SendToRoom 221 2
END_COMMAND

COMMAND ANY
  NOT IsCarrying 220
  NOT IsLocated 220 2
  SetVariableTo 1 0
END_COMMAND

COMMAND ANY
  NOT IsLocated 272 85
  SendToRoom 268 2
END_COMMAND

COMMAND ANY
  NOT IsCarrying 200
  GetIt 200
END_COMMAND

COMMAND ANY
  AtLocation 3
  CounterEquals 1 2
  PrintMessage 1
END_COMMAND

COMMAND ANY
  NOT AtLocation 5
  CounterEquals 1 3
  PrintMessage 2
  BlankLine
  GoToRoom 36
END_COMMAND

COMMAND ANY
  AtLocation 5
  CounterEquals 1 3
  PrintMessage 3
  BlankLine
END_COMMAND

COMMAND ANY
  AtLocation 5
  CounterEquals 1 4
  PrintMessage 4
  BlankLine
END_COMMAND

COMMAND ANY
  AtLocation 16
  InRoom 300
  NOT InRoom 301
  PrintMessage 5
  SendToRoom 300 2
  PutInCurrentRoom 301
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 16
  NOT Present 300
  Present 301
  Present 312
  FlagOFF 7
  PrintMessage 6
  TurnFlagON 7
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 16
  InRoom 301
  NOT Present 300
  NOT Present 312
  PrintMessage 7
  BlankLine
  RemoveFromGroup 303
  RemoveFromGroup 308
  RemoveFromGroup 309
  RemoveFromGroup 305
  RemoveFromGroup 312
  RemoveFromGroup 301
  GoToRoom 17
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 21
  ChangePassageway 0 20
END_COMMAND

COMMAND ANY
  Present 303
  NOT IsGroupMember 303
  CounterGT 3 2
  AddToGroup 303
  TurnCounterOFF 3
END_COMMAND

COMMAND ANY
  AtLocation 33
  CounterEquals 2 3
  PrintMessage 8
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 33
  CounterEquals 2 5
  PrintMessage 9
  BlankLine
  PutInCurrentRoom 301
  SetVariableTo 1 224
  GetIt 220
  AddToGroup 301
  PlusScore 20
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 37
  FirstVisitToRoom
  TurnCounterON 6
END_COMMAND

COMMAND ANY
  NOT CounterEquals 6 0
  ClearScreen
END_COMMAND

COMMAND ANY
  CounterEquals 6 4
  FlagOFF 9
  PrintMessage 250
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 5
  FlagOFF 9
  PrintMessage 249
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 6
  FlagOFF 9
  PrintMessage 248
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 7
  FlagOFF 9
  PrintMessage 10
  BlankLine
  RandomVariable 4 4
END_COMMAND

COMMAND ANY
  CounterEquals 6 7
  FlagOFF 9
  VariableEquals 4 2
  SetVariableTo 5 45
  SubtractFromVariable 1 8
  PrintMessage 247
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 7
  VariableLT 4 2
  FlagOFF 9
  SetVariableTo 5 51
  SubtractFromVariable 1 11
  PrintMessage 246
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 7
  FlagOFF 9
  VariableGT 4 2
  SetVariableTo 5 57
  SubtractFromVariable 1 12
  PrintMessage 245
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 13
  FlagOFF 8
  Present 308
  PrintMessage 244
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 14
  FlagOFF 8
  Present 308
  PrintMessage 243
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 15
  FlagOFF 8
  Present 308
  PrintMessage 242
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 16
  FlagOFF 8
  Present 308
  PrintMessage 11
  BlankLine
  RandomVariable 4 4
END_COMMAND

COMMAND ANY
  CounterEquals 6 16
  Present 308
  FlagOFF 8
  VariableLT 4 2
  SetVariableTo 5 40
  SubtractFromVariable 1 60
  PrintMessage 241
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 16
  Present 308
  FlagOFF 8
  VariableEquals 4 2
  SetVariableTo 5 44
  SubtractFromVariable 1 48
  PrintMessage 240
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 16
  Present 308
  FlagOFF 8
  VariableGT 4 2
  SetVariableTo 5 56
  SubtractFromVariable 1 54
  PrintMessage 239
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 58
  PrintMessage 238
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 59
  PrintMessage 237
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 6 60
  PrintMessage 12
  BlankLine
  SetVariableTo 5 2
  GoToRoom 36
END_COMMAND

COMMAND ANY
  Present 303
  NOT VariableEquals 5 0
  RemoveFromGroup 303
  SendToVariableRoom 303 5
END_COMMAND

COMMAND ANY
  Present 314
  NOT VariableEquals 5 0
  RemoveFromGroup 314
  SendToVariableRoom 314 5
END_COMMAND

COMMAND ANY
  Present 308
  NOT VariableEquals 5 0
  SendToVariableRoom 308 5
END_COMMAND

COMMAND ANY
  Present 316
  NOT VariableEquals 5 0
  SendToVariableRoom 316 5
END_COMMAND

COMMAND ANY
  Present 309
  NOT VariableEquals 5 0
  SendToVariableRoom 309 5
END_COMMAND

COMMAND ANY
  Present 318
  NOT VariableEquals 5 0
  SendToVariableRoom 318 5
END_COMMAND

COMMAND ANY
  Present 305
  NOT VariableEquals 5 0
  SendToVariableRoom 305 5
END_COMMAND

COMMAND ANY
  Present 315
  NOT VariableEquals 5 0
  SendToVariableRoom 315 5
END_COMMAND

COMMAND ANY
  Present 312
  NOT VariableEquals 5 0
  SendToVariableRoom 312 5
END_COMMAND

COMMAND ANY
  Present 320
  NOT VariableEquals 5 0
  SendToVariableRoom 320 5
END_COMMAND

COMMAND ANY
  Present 301
  NOT VariableEquals 5 0
  SendToVariableRoom 301 5
END_COMMAND

COMMAND ANY
  Present 313
  NOT VariableEquals 5 0
  SendToVariableRoom 313 5
END_COMMAND

COMMAND ANY
  SetVariableTo 5 0
  SetVariableTo 4 0
END_COMMAND

COMMAND ANY
  AtLocation 68
  FirstVisitToRoom
  TurnCounterON 4
  TurnCounterOFF 6
END_COMMAND

COMMAND ANY
  CounterEquals 4 1
  PrintMessage 13
  BlankLine
END_COMMAND

COMMAND ANY
  CounterEquals 4 2
  PrintMessage 14
  BlankLine
END_COMMAND

COMMAND ANY
  CounterGT 4 3
  Present 314
  Present 315
  Present 316
  Present 318
  Present 320
  Present 313
  Chance 40
  SendToRoom 314 2
END_COMMAND

COMMAND ANY
  CounterGT 4 4
  NOT Present 314
  Present 315
  Present 316
  Present 318
  Present 320
  Present 313
  Chance 40
  SendToRoom 315 2
END_COMMAND

COMMAND ANY
  CounterGT 4 5
  NOT Present 315
  Present 316
  Present 318
  Present 320
  Present 313
  Chance 40
  SendToRoom 316 2
  SendToRoom 318 2
END_COMMAND

COMMAND ANY
  CounterGT 4 6
  NOT Present 318
  Present 320
  Present 313
  Chance 40
  SendToRoom 320 2
  PrintMessage 15
  BlankLine
END_COMMAND

COMMAND ANY
  CounterGT 4 7
  NOT Present 320
  Present 313
  Chance 40
  PrintMessage 16
  SendAllToRoom 2
  SendToRoom 313 2
  SendToRoom 201 2
  BlankLine
  GoToRoom 76
  TurnCounterOFF 4
  DoneWithTurn
END_COMMAND

COMMAND ANY
  NOT IsLocated 281 279
  NOT IsLocated 279 2
  SwapLocations 279 280
END_COMMAND

COMMAND ANY
  IsLocated 281 279
  NOT IsLocated 280 2
  SwapLocations 279 280
END_COMMAND

COMMAND ANY
  AtLocation 94
  Present 321
  NOT Present 314
  PrintMessage 17
  BlankLine
  GoToRoom 76
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 94
  Present 318
  PrintMessage 18
  BlankLine
  PlusScore 10
  SwapLocations 316 317
  SwapLocations 318 319
  GoToRoom 95
  SendToRoom 321 95
  ChangePassageway 4 93
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 95
  Present 317
  Present 321
  CounterEquals 5 0
  TurnCounterON 5
  PrintMessage 19
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 95
  CounterEquals 5 2
  PrintMessage 20
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 95
  CounterEquals 5 3
  PrintMessage 21
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 95
  CounterEquals 5 4
  PrintMessage 22
  BlankLine
END_COMMAND

COMMAND ANY
  AtLocation 95
  CounterEquals 5 5
  PrintMessage 23
  BlankLine
END_COMMAND

COMMAND ANY
  AtLocation 95
  CounterEquals 5 6
  PrintMessage 24
  BlankLine
  TurnCounterOFF 5
  GoToRoom 2
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 94
  CounterEquals 5 0
  Present 321
  PrintMessage 25
  BlankLine
  GoToRoom 76
  DoneWithTurn
END_COMMAND

COMMAND ANY
  Present 303
  Present 308
  Present 305
  Present 312
  NOT Present 313
  NOT IsLocated 294 2
  PutInCurrentRoom 313
  WearIt 201
  PrintMessage 26
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 3
  IsNowhere 321
  PrintMessage 27
  WaitForReturn
  ClearScreen
  RemoveFromGroup 314
  RemoveFromGroup 317
  RemoveFromGroup 319
  RemoveFromGroup 315
  RemoveFromGroup 320
  RemoveFromGroup 313
  DropIt 201
  GoToRoom 109
  PlusScore 70
  DoneWithTurn
END_COMMAND

COMMAND ANY
  AtLocation 76
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND ANY
  AtLocation 76
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND ANY
  AtLocation 17
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND ANY
  AtLocation 17
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND ANY
  AtLocation 36
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND ANY
  AtLocation 36
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND ASK ANY ABOUT BAND
  Present 303
  NOUNIsNumber 303
  PrintMessage 28
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT CODE
  Present 309
  NOUNIsNumber 309
  PrintMessage 29
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT ANY
  Present 308
  NOUNIsNumber 308
  PrintMessage 236
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT CODE
  NOT NOUNIsNumber 309
  PrintMessage 235
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT MOTHER
  Present 309
  NOUNIsNumber 309
  NOT Present 304
  PrintMessage 30
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT MOTHER
  Present 309
  Present 304
  NOUNIsNumber 309
  PrintMessage 31
  SwapLocations 304 305
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT MOTHER
  NOT Present 309
  NOUNIsNumber 309
  PrintMessage 234
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT PROPHECY
  Present 303
  NOUNIsNumber 303
  PrintMessage 32
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT STORM
  Present 303
  NOUNIsNumber 303
  PrintMessage 33
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT TEMPLE
  Present 301
  NOUNIsNumber 301
  PrintMessage 34
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT TEMPLE
  Present 303
  NOUNIsNumber 303
  PrintMessage 35
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT TEMPLE
  NOUNPresent
  PrintMessage 233
  DoneWithTurn
END_COMMAND

COMMAND ASK YALDA ABOUT WEAPONS
  Present 313
  Present 303
  NOT IsLocated 294 2
  PrintMessage 36
  BlankLine
  PlusScore 10
  SwapLocations 303 314
  SwapLocations 308 316
  SwapLocations 309 318
  SwapLocations 305 315
  SwapLocations 312 320
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT ANY
  Present 303
  NOUNIsNumber 303
  PrintMessage 232
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT ANY
  NOT NOUNPresent
  NOUNIsCreature
  PrintMessage 231
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY ABOUT ANY
  NOUNPresent
  NOUNIsCreature
  PrintMessage 230
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY TO SIT
  NOUNPresent
  NOUNIsNumber 303
  RemoveFromGroup 303
  TurnCounterOn 3
  PrintMessage 229
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY TO SIT
  NOUNPresent
  NOT NOUNIsNumber 303
  PrintMessage 228
  DoneWithTurn
END_COMMAND

COMMAND ASK ANY TO SIT
  NOT NOUNPresent
  PrintMessage 227
  DoneWithTurn
END_COMMAND

COMMAND ATTACK ANY
  NOUNPresent
  NOUNIsCreature
  NOUNIsNumber 310
  Present 310
  PrintMessage 92
  DoneWithTurn
END_COMMAND

COMMAND ATTACK ANY
  NOUNPresent
  NOUNIsCreature
  NOT NOUNIsNumber 310
  ClearScreen
  BlankLine
  PrintMessage 226
  RemoveFromGroup 303
  RemoveFromGroup 308
  RemoveFromGroup 309
  RemoveFromGroup 305
  RemoveFromGroup 312
  RemoveFromGroup 301
END_COMMAND

COMMAND ATTACK ANY
  NOUNPresent
  NOUNIsCreature
  NOT NOUNIsNumber 310
  Delay 5
  ClearScreen
  GoToRoom 17
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 38
  NOT IsCarrying 225
  SetVariableTo 3 60
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 37
  GetIt 225
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 55
  NOT IsCarrying 225
  SetVariableTo 3 55
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 37
  GetIt 225
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 64
  NOT IsCarrying 225
  SetVariableTo 3 65
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  BlankLine
  PrintMessage 37
  BlankLine
  GetIt 225
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY PROVISIONS
  NOUNInRoom
  NOT IsCarrying 225
  CompareVariables 1 3
  BlankLine
  PrintMessage 38
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY PROVISIONS
  IsCarrying 225
  BlankLine
  PrintMessage 39
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 43
  NOT IsCarrying 229
  SetVariableTo 3 29
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  BlankLine
  PrintMessage 40
  BlankLine
  WearIt 229
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 60
  NOT IsCarrying 229
  SetVariableTo 3 28
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  BlankLine
  PrintMessage 40
  BlankLine
  WearIt 229
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 54
  NOT IsCarrying 229
  SetVariableTo 3 30
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  BlankLine
  PrintMessage 40
  BlankLine
  WearIt 229
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY PARKAS
  NOUNInRoom
  NOT IsCarrying 229
  CompareVariables 1 3
  BlankLine
  PrintMessage 41
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY PARKAS
  IsCarrying 229
  BlankLine
  PrintMessage 42
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 57
  FlagOFF 9
  SetVariableTo 3 12
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 43
  BlankLine
  TurnFlagOn 9
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 51
  FlagOFF 9
  SetVariableTo 3 11
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 43
  BlankLine
  TurnFlagOn 9
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 45
  FlagOff 9
  SetVariableTo 3 8
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 43
  BlankLine
  TurnFlagON 9
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY DINNER
  NOUNInRoom
  FlagOFF 9
  CompareVariables 1 3
  PrintMessage 44
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY DINNER
  FlagON 9
  PrintMessage 45
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 44
  FlagOFF 8
  SetVariableTo 3 48
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 46
  BlankLine
  TurnFlagON 8
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 56
  FlagOFF 8
  SetVariableTo 3 54
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 46
  BlankLine
  TurnFlagON 8
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 40
  FlagOFF 8
  SetVariableTo 3 60
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 46
  BlankLine
  TurnFlagON 8
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ROOMS
  NOUNInRoom
  FlagOFF 8
  CompareVariables 1 3
  BlankLine
  PrintMessage 47
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY ROOMS
  FlagOn 8
  BlankLine
  PrintMessage 48
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 48
  Present 312
  NOT Present 320
  SetVariableTo 3 19
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 49
  BlankLine
  SwapLocations 312 320
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 59
  Present 312
  NOT Present 320
  SetVariableTo 3 20
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 49
  BlankLine
  SwapLocations 312 320
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 50
  Present 312
  NOT Present 320
  SetVariableTo 3 17
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 49
  BlankLine
  SwapLocations 312 320
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY SWORD
  NOUNInRoom
  NOT Present 320
  CompareVariables 1 3
  PrintMessage 50
  DoneWithTurn
END_COMMAND

COMMAND BUY SWORD
  Present 320
  PrintMessage 51
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 49
  Present 303
  NOT Present 314
  SetVariableTo 3 45
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 52
  BlankLine
  SwapLocations 303 314
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 41
  Present 303
  NOT Present 314
  SetVariableTo 3 35
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 52
  BlankLine
  SwapLocations 303 314
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 63
  Present 303
  NOT Present 314
  SetVariableTo 3 25
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 52
  BlankLine
  SwapLocations 303 314
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND BUY KIT
  NOUNInRoom
  NOT Present 314
  CompareVariables 1 3
  PrintMessage 53
  DoneWithTurn
END_COMMAND

COMMAND BUY KIT
  Present 314
  PrintMessage 54
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 61
  Present 309
  NOT Present 318
  SetVariableTo 3 6
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 55
  BlankLine
  PlusScore 10
  SwapLocations 309 318
  SwapLocations 308 316
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 46
  Present 309
  NOT Present 318
  SetVariableTo 3 10
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 55
  BlankLine
  PlusScore 10
  SwapLocations 309 318
  SwapLocations 308 316
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 47
  Present 309
  NOT Present 318
  SetVariableTo 3 8
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 55
  BlankLine
  PlusScore 10
  SwapLocations 309 318
  SwapLocations 308 316
  DoneWithTurn
END_COMMAND

COMMAND BUY SLINGS
  NOUNInRoom
  NOT Present 318
  CompareVariables 1 3
  PrintMessage 56
  DoneWithTurn
END_COMMAND

COMMAND BUY SLINGS
  Present 318
  PrintMessage 57
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 53
  Present 301
  NOT Present 313
  SetVariableTo 3 12
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 58
  BlankLine
  PlusScore 10
  SwapLocations 301 313
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 42
  Present 301
  NOT Present 313
  SetVariableTo 3 11
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 58
  BlankLine
  PlusScore 10
  SwapLocations 301 313
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 62
  Present 301
  NOT Present 313
  SetVariableTo 3 15
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 58
  BlankLine
  PlusScore 10
  SwapLocations 301 313
  DoneWithTurn
END_COMMAND

COMMAND BUY TOOLS
  NOUNInRoom
  NOT Present 313
  CompareVariables 1 3
  PrintMessage 59
  DoneWithTurn
END_COMMAND

COMMAND BUY TOOLS
  Present 313
  PrintMessage 60
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 39
  Present 305
  NOT Present 315
  SetVariableTo 3 12
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 61
  BlankLine
  PlusScore 10
  SwapLocations 305 315
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 52
  Present 305
  NOT Present 315
  SetVariableTo 3 14
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 61
  BlankLine
  PlusScore 10
  SwapLocations 305 315
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  AtLocation 58
  Present 305
  NOT Present 315
  SetVariableTo 3 18
  NOUNInRoom
  NOT CompareVariables 1 3
  SubtractVariables 1 3
  PrintMessage 61
  BlankLine
  PlusScore 10
  SwapLocations 305 315
  DoneWithTurn
END_COMMAND

COMMAND BUY CROSSBOW
  NOUNInRoom
  NOT Present 315
  CompareVariables 1 3
  PrintMessage 62
  DoneWithTurn
END_COMMAND

COMMAND BUY CROSSBOW
  Present 315
  PrintMessage 63
  DoneWithTurn
END_COMMAND

COMMAND BUY ANY
  NOT NOUNInRoom
  PrintMessage 225
  DoneWithTurn
END_COMMAND

COMMAND CRAWL UNDER THE BED
  AtLocation 3
  BlankLine
  PrintMessage 224
  BlankLine
  GoToRoom 5
  DoneWithTurn
END_COMMAND

COMMAND CRAWL ANY ANY
  PrintMessage 223
END_COMMAND

COMMAND DOWN
  IsNowhere 321
  AtLocation 88
  GoToRoom 79
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 3 0
  GoToRoom 103
  ChangePassageway 9 88
  ChangePassageway 10 73
  ChangePassageway 3 80
  DoneWithTurn
END_COMMAND

COMMAND DOWN
  IsNowhere 321
  AtLocation 98
  GoToRoom 87
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 4 0
  GoToRoom 102
  ChangePassageway 9 98
  ChangePassageway 10 78
  ChangePassageway 4 84
  DoneWithTurn
END_COMMAND

COMMAND DROP CRATE
  AtLocation 89
  Present 287
  IsOpen 287
  Present 283
  NOUNIsNumber 283
  SendToRoom 283 2
  PrintMessage 222
  TurnFlagON 16
END_COMMAND

COMMAND DROP CRATE
  AtLocation 89
  Present 287
  IsOpen 287
  Present 284
  NOUNIsNumber 284
  SendToRoom 284 2
  PrintMessage 221
  TurnFlagON 16
END_COMMAND

COMMAND DROP CRATE
  AtLocation 89
  Present 287
  IsOpen 287
  Present 285
  NOUNIsNumber 285
  SendToRoom 285 2
  PrintMessage 220
  TurnFlagON 16
END_COMMAND

COMMAND DROP CRATE
  IsLocated 283 2
  IsLocated 284 2
  IsLocated 285 2
  BlankLine
  PrintMessage 64
  PutInCurrentRoom 305
  CloseIt 287
  LockIt 287
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND DROP CRATE
  FlagON 16
  ToggleFlag 16
  DoneWithTurn
END_COMMAND

COMMAND DROP TORCH
  IsCarrying 272
  DropIt 272
  SwapLocations 272 273
  PrintMessage 219
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND DROP ANY
  AtLocation 89
  Present 287
  IsOpen 287
  NOUNIsCarrying
  SendNOUNToRoom 2
  PrintMessage 218
  DoneWIthTurn
END_COMMAND

COMMAND DROP
  IsCarrying 200
  SendToRoom 200 2
END_COMMAND

COMMAND EAST
  IsNowhere 321
  AtLocation 84
  GoToRoom 87
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 4 0
  GoToRoom 102
  ChangePassageway 9 98
  ChangePassageway 10 78
  ChangePassageway 4 84
  DoneWithTurn
END_COMMAND

COMMAND EAST
  AtLocation 19
  NOT IsWearing 207
  GoToRoom 20
  DoneWithTurn
END_COMMAND

COMMAND EAST
  AtLocation 19
  IsWearing 207
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND EAST
  AtLocation 19
  IsWearing 207
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND EAST
  AtLocation 19
  IsWearing 207
  PrintMessage 100
  GoToRoom 36
  DoneWithTurn
END_COMMAND

COMMAND EAST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND EAST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND EAST
  AtLocation 24
  Present 309
  IsLocated 304 2
  IsLocated 305 2
  PrintMessage 65
  BlankLine
  SendToRoom 304 25
END_COMMAND

COMMAND ENTER
  AtLocation 20
  IsOpen 208
  SendToRoom 208 21
  LockIt 208
  CloseIt 208
  GoToRoom 21
  DoneWithTurn
END_COMMAND

COMMAND ENTER
  AtLocation 33
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND ENTER
  AtLocation 33
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND ENTER
  AtLocation 33
  FlagON 6
  PrintMessage 66
  BlankLine
  GoToRoom 36
  DoneWithTurn
END_COMMAND

COMMAND ENTER
  AtLocation 33
  FlagOFF 6
  PrintMessage 67
  BlankLine
  GoToRoom 36
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE
  IsCarrying 200
  SendToRoom 200 2
END_COMMAND

COMMAND EXAMINE COINS
  Present 221
  PrintMessage 217
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE SAY
  PrintMessage 216
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE COAT
  IsCarrying 293
  IsLocated 294 2
  GetIt 294
  PrintMessage 215
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE COAT
  NOT IsCarrying 293
  PrintMessage 214
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE GRATE
  AtLocation 89
  Present 287
  IsOpen 287
  PrintMessage 213
  DoneWithTurn
END_COMMAND

COMMAND EXAMINE GRATE
  AtLocation 89
  Present 287
  IsLocated 283 2
  IsOpen 287
  PrintMessage 212
END_COMMAND

COMMAND EXAMINE GRATE
  AtLocation 89
  Present 287
  IsLocated 284 2
  IsOpen 287
  PrintMessage 211
END_COMMAND

COMMAND EXAMINE GRATE
  AtLocation 89
  Present 287
  IsLocated 285 2
  IsOpen 287
  PrintMessage 210
END_COMMAND

COMMAND EXAMINE GRATE
  AtLocation 89
  Present 287
  IsOpen 287
  DoneWIthTurn
END_COMMAND

COMMAND EXIT
  AtLocation 5
  CounterGT 1 4
  TurnCounterOFF 1
  PrintMessage 68
  BlankLine
  GoToRoom 3
  DoneWithTurn
END_COMMAND

COMMAND GET COAT
  AtLocation 93
  GetIt 293
  PrintMessage 209
  PutInCurrentRoom 296
  DoneWithTurn
END_COMMAND

COMMAND GET ANY
  NOUNIsNumber 285
  SomethingInside 285
  PrintMessage 208
  DoneWithTurn
END_COMMAND

COMMAND GET ANY
  NOUNIsNumber 284
  SomethingInside 284
  PrintMessage 207
  DoneWithTurn
END_COMMAND

COMMAND GET ANY
  NOUNIsNumber 283
  SomethingInside 283
  PrintMessage 206
  DoneWithTurn
END_COMMAND

COMMAND GET
  IsCarrying 200
  SendToRoom 200 2
END_COMMAND

COMMAND HELP
  NOT CounterEquals 6 0
  PrintMessage 69
  DoneWithTurn
END_COMMAND

COMMAND INVENTORY
  IsCarrying 200
  SendToRoom 200 2
END_COMMAND

COMMAND KNOCK DOOR
  AtLocation 16
  PrintMessage 70
  PutInCurrentRoom 300
  DoneWithTurn
END_COMMAND

COMMAND KNOCK DOOR
  AtLocation 20
  IsLocked 208
  NOT IsLocated 302 21
  PrintMessage 71
  UnlockIt 208
  OpenIt 208
  DoneWithTurn
END_COMMAND

COMMAND KNOCK DOOR
  PrintMessage 205
  DoneWithTurn
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  NOT IsWearing 207
  PrintMessage 72
  GoToRoom 36
  DoneWithTurn
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  IsWearing 207
  PrintMessage 73
  PutInCurrentRoom 302
  AskQuestion 1
  TurnFlagON 4
  TurnFlagON 1
  AnswerIsCorrect
  TurnFlagOFF 1
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  Present 302
  FlagOn 4
  FlagOff 1
  BlankLine
  PrintMessage 204
  BlankLine
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  FlagOn 4
  FlagOn 1
  Present 302
  BlankLine
  PrintMessage 203
  AskQuestion 1
  AnswerIsCorrect
  TurnFlagOFF 1
  BlankLine
  PrintMessage 202
  BlankLine
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  Present 302
  FlagOn 4
  FlagOn 1
  BlankLine
  PrintMessage 201
  BlankLine
  SendToRoom 208 20
  GoToRoom 20
  DoneWithTurn
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  Present 302
  FlagOn 4
  FlagOff 1
  NOT IsWearing  201
  PrintMessage 74
  BlankLine
  SendToRoom 208 20
  GoToRoom 20
  DoneWithTurn
END_COMMAND

COMMAND KICK DOOR
  AtLocation 21
  Present 302
  FlagOn 4
  FlagOff 1
  IsWearing 201
  ClearScreen
  PrintMessage 75
  WaitForReturn
  ClearScreen
  SendToRoom 208 20
  GoToRoom 20
  PutInCurrentRoom 303
  DoneWithTurn
END_COMMAND

COMMAND KICK DOOR
  PrintMessage 200
  DoneWithTurn
END_COMMAND

COMMAND LIFT ROD
  AtLocation 76
  FlagOn 10
  PrintMessage 76
  BlankLine
  TurnFlagOFF 10
  RelocateAll 76 77
  GoToRoom 77
  DoneWithTurn
END_COMMAND

COMMAND LIFT ROD
  PrintMessage 199
  DoneWithTurn
END_COMMAND

COMMAND LISTEN STORM
  AtLocation 5
  CounterGT 1 2
  CounterLT 1 5
  PrintMessage 198
  DoneWithTurn
END_COMMAND

COMMAND LISTEN STORM
  AtLocation 2
  PrintMessage 197
  DoneWithTurn
END_COMMAND

COMMAND LISTEN ANY ANY
  PrintMessage 196
  DoneWithTurn
END_COMMAND

COMMAND LOOK UNDER THE BED
  AtLocation 3
  IsLocated 203 5
  IsLocated 207 5
  PrintMessage 77
  BlankLine
  GetIt 203
  GetIt 207
  PlusScore 5
  DoneWIthTurn
END_COMMAND

COMMAND MOVE COT
  AtLocation 76
  Present 274
  SendToRoom 274 2
  PutInCurrentRoom 275
  PutInCurrentRoom 276
  PrintMessage 195
  DoneWithTurn
END_COMMAND

COMMAND MOVE COT
  AtLocation 76
  Present 275
  SendToRoom 275 2
  SendToRoom 276 2
  PutInCurrentRoom 274
  PrintMessage 194
  DoneWithTurn
END_COMMAND

COMMAND MOVE BLOCK
  AtLocation 76
  Present 276
  IsLocated 277 2
  PrintMessage 78
  GetIt 277
  DoneWithTurn
END_COMMAND

COMMAND MOVE BLOCK
  AtLocation 76
  Present 276
  Present 277
  PrintMessage 79
  GetIt 277
  DoneWithTurn
END_COMMAND

COMMAND MOVE CHAIR
  AtLocation 84
  Present 254
  PrintMessage 193
  SendToRoom 254 2
  PutInCurrentRoom 258
  ChangePassageway 9 85
  DoneWithTurn
END_COMMAND

COMMAND MOVE RUG
  AtLocation 89
  Present 264
  SendToRoom 264 2
  PutInCurrentRoom 265
  PutInCurrentRoom 287
  PrintMessage 192
  DoneWithTurn
END_COMMAND

COMMAND MOVE SIGN
  AtLocation 3
  IsLocated 201 2
  PrintMessage 80
  BlankLine
  PutInCurrentRoom 201
  DoneWithTurn
END_COMMAND

COMMAND MOVE ANY
  NOUNPresent
  PrintMessage 191
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND MOVE ANY
  NOT NOUNPresent
  PrintMessage 190
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTH
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTH
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTH
  AtLocation 61
  Present 314
  Present 313
  Present 318
  Present 315
  Present 320
  IsCarrying 225
  IsWearing 229
  ChangePassageway 1 0
  ChangePassageway 1 66
  GoToRoom 66
  DoneWithTurn
END_COMMAND

COMMAND NORTHEAST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTHEAST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTHEAST
  AtLocation 29
  IsLocated 303 28
  NOT InRoom 309
  SendToRoom 306 2
  SendToRoom 307 2
  GoToRoom 28
  PrintMessage 83
  WaitForReturn
  ClearScreen
  PrintMessage 84
  AddToGroup 303
  PutInCurrentRoom 308
  PutInCurrentRoom 309
  DoneWithTurn
END_COMMAND

COMMAND NORTHWEST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND NORTHWEST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 82
  FlagON 15
  PrintMessage 85
  BlankLine
  GoToRoom 83
  PutInCurrentRoom 292
  PutInCurrentRoom 308
  PutInCurrentRoom 309
  ChangePassageway 1 0
  ChangePassageway 1 80
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 82
  PrintMessage 189
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 83
  PrintMessage 188
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 90
  SendToRoom 200 2
  NOT IsCarryingSomething
  LightPresent
  PrintMessage 86
  BlankLine
  GoToRoom 91
  ChangePassageway 2 89
  ReLocateAll 90 91
  PutInCurrentRoom 312
  GetIt 200
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 90
  NOT LightPresent
  PrintMessage 187
  DoneWithTurn
END_COMMAND

COMMAND OPEN DOOR
  AtLocation 90
  SendToRoom 200 2
  IsCarryingSomething
  PrintMessage 186
  GetIt 200
  DoneWithTurn
END_COMMAND

COMMAND OPEN LOCK
  AtLocation 82
  FlagON 15
  PrintMessage 85
  GoToRoom 83
  PutInCurrentRoom 292
  PutInCurrentRoom 308
  PutInCurrentRoom 309
  ChangePassageway 1 0
  ChangePassageway 1 80
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND OPEN LOCK
  AtLocation 82
  PrintMessage 185
  DoneWithTurn
END_COMMAND

COMMAND OPEN LOCK
  AtLocation 83
  PrintMessage 184
  DoneWithTurn
END_COMMAND

COMMAND PAY GUARD
  AtLocation 16
  Present 220
  Present 300
  PrintMessage 183
  BlankLine
  SubtractFromVariable 1 14
END_COMMAND

COMMAND PAY GUARD
  AtLocation 16
  Present 220
  Present 300
  SendToRoom 300 2
  PrintMessage 87
  WaitForReturn
  ClearScreen
  PrintMessage 88
  WaitForReturn
  ClearScreen
  PrintMessage 89
  WaitForReturn
  ClearScreen
  GoToRoom 37
  DoneWithTurn
END_COMMAND

COMMAND PAY GUARD
  AtLocation 16
  Present 300
  NOT Present 220
  BlankLine
  PrintMessage 182
  DoneWithTurn
END_COMMAND

COMMAND PAY GUARD
  NOT Present 300
  BlankLine
  PrintMessage 181
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND PUT ROD IN CRACK
  AtLocation 76
  IsCarrying 277
  TurnFlagON 10
  PrintMessage 90
  DoneWithTurn
END_COMMAND

COMMAND PUT TORCH IN CHURN
  IsCarrying 272
  InRoom 280
  IsOpen 280
  PrintMessage 180
  SendToRoom 272 280
  DoneWithTurn
END_COMMAND

COMMAND PUT TORCH IN CHURN
  PrintMessage 179
  DoneWithTurn
END_COMMAND

COMMAND REMOVE BRACELET
  IsWearing 201
  CounterGT 5 3
  GetIt 201
  SwapLocations 201 251
  PrintMessage 91
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  ObjectToVariable 2
  VariableEquals 2 36
  TurnFlagON 11
  TurnFlagOFF 12
  TurnFlagOFF 13
  TurnFlagOFF 14
  TurnFlagOFF 15
  PrintMessage 178
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  ObjectToVariable 2
  VariableEquals 2 35
  FlagON 11
  TurnFlagON  12
  PrintMessage 177
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  ObjectToVariable 2
  VariableEquals 2 39
  FlagON 11
  FlagON 12
  TurnFlagON  13
  PrintMessage 176
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  ObjectToVariable 2
  VariableEquals 2 30
  FlagON 11
  FlagON 12
  FlagON 13
  TurnFlagON  14
  PrintMessage 175
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  ObjectToVariable 2
  VariableEquals 2 46
  FlagON 11
  FlagON 12
  FlagON 13
  FlagON 14
  TurnFlagON  15
  PrintMessage 174
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  AtLocation 82
  TurnFlagOFF 11
  PrintMessage 173
  DoneWithTurn
END_COMMAND

COMMAND SET DIAL TO ANY
  NOT AtLocation 82
  PrintMessage 172
  DoneWithTurn
END_COMMAND

COMMAND SLEEP
  AtLocation 4
  PrintMessage 171
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SLEEP
  NOT AtLocation 4
  PrintMessage 170
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SOUTH
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  DoneWithTurn
END_COMMAND

COMMAND SOUTH
  AtLocation 26
  Present 309
  IsLocated 304 2
  IsLOcated 305 2
  PrintMessage 65
  BlankLine
  SendToRoom 304 25
END_COMMAND

COMMAND SOUTH
  AtLocation 108
  GoToRoom 15
  ChangePassageway 1 108
  DoneWithTurn
END_COMMAND

COMMAND SOUTH
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SOUTHEAST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SOUTHEAST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SOUTHWEST
  AtLocation 30
  Present 303
  FlagOFF 5
  GoToRoom 35
  SendToRoom 310 35
  TurnFlagON 5
  DoneWithTurn
END_COMMAND

COMMAND SOUTHWEST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND SOUTHWEST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ATTACK
  AtLocation 34
  NOUNPresent
  NOUNIsCreature
  NOT NOUNIsNumber 305
  Present 310
  PrintMessage 92
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ATTACK
  AtLocation 34
  NOUNPresent
  NOUNIsNumber 305
  Present 310
  Present 305
  PrintMessage 93
  BlankLine
  SwapLocations 310 311
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ATTACK
  NOT AtLocation 34
    OR
  NOT Present 310
  PrintMessage 169
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ENTER
  AtLocation 33
  Present 301
  NounIsNumber 301
  FlagON 6
  PrintMessage 94
  TurnCounterON 2
  RemoveFromGroup 301
  SendToRoom 301 2
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ENTER
  AtLocation 33
  Present 301
  NounIsNumber 301
  FlagOFF 6
  PrintMessage 168
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ENTER
  AtLocation 33
  NOUNPresent
  NOT NOUNIsNumber 301
  PrintMessage 167
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO ENTER
  AtLocation 33
  NOT NOUNPresent
  PrintMessage 166
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO OPEN
  AtLocation 33
  NOUNIsNumber 303
  Present 303
  FlagOFF 6
  PrintMessage 95
  ToggleFlag 6
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO OPEN
  AtLocation 33
  NOUNIsNumber 303
  Present 303
  FlagON 6
  PrintMessage 165
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO OPEN
  AtLocation 33
  NOT NOUNIsNumber 303
  FlagOFF 6
  PrintMessage 164
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO OPEN
  PrintMessage 163
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SAY
  AtLocation 25
  NOUNIsNumber 308
  NOUNPresent
  Present 304
  PrintMessage 162
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SAY
  AtLocation 25
  NOT NOUNIsNumber 309
  NOUNPresent
  Present 304
  PrintMessage 161
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SAY
  AtLocation 25
  NOUNIsNumber 309
  NOUNPresent
  Present 304
  PrintMessage 96
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SAY
  PrintMessage 160
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SIT
  NOUNPresent
  NOUNIsNumber 303
  RemoveFromGroup 303
  TurnCounterOn 3
  PrintMessage 159
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SIT
  NOUNPresent
  NOT NOUNIsNumber 303
  PrintMessage 158
  DoneWithTurn
END_COMMAND

COMMAND TELL ANY TO SIT
  NOT NOUNPresent
  PrintMessage 157
  DoneWithTurn
END_COMMAND

COMMAND TELL WOMAN ABOUT QUEST
  AtLocation 34
  Present 311
  PrintMessage 97
  SwapLocations 311 312
  DoneWithTurn
END_COMMAND

COMMAND TIE ROPE TO HOOK
  IsCarrying 286
  IsCarrying 295
  PrintMessage 156
  SendToRoom 286 2
  SendToRoom 295 2
  GetIt 297
  DoneWithTurn
END_COMMAND

COMMAND TIE ANY ANY
  PrintMessage 155
  DoneWithTurn
END_COMMAND

COMMAND THROW BRACELET AT GALDRAX
  IsCarrying 251
  CounterGT 5 4
  PrintMessage 98
  BlankLine
  TurnCounterOFF 5
  Destroy 321
  GoToRoom 96
  SendToRoom 251 2
  PutInCurrentRoom 201
  WearIt 201
  ChangePassageway 4 93
  PlusScore 25
  DoneWithTurn
END_COMMAND

COMMAND THROW ROPE AT WINDOW
  IsCarrying 297
  SendToRoom 297 2
  PutInCurrentRoom 298
  PrintMessage 99
  PutInCurrentRoom 303
  PlusScore 10
  DoneWithTurn
END_COMMAND

COMMAND THROW ANY ANY
  PrintMessage 154
END_COMMAND

COMMAND WEAR
  IsCarrying 200
  SendToRoom 200 2
END_COMMAND

COMMAND WEST
  AtLocation 20
  NOT IsWearing 207
  GoToRoom 19
  DoneWithTurn
END_COMMAND

COMMAND WEST
  AtLocation 20
  IsWearing 207
  SendToRoom 303 2
  SendToRoom 314 2
  SendToRoom 301 2
  SendToRoom 313 2
  SendToRoom 312 2
  SendToRoom 320 2
END_COMMAND

COMMAND WEST
  AtLocation 20
  IsWearing 207
  SendToRoom 305 2
  SendToRoom 315 2
  SendToRoom 308 2
  SendToRoom 316 2
  SendToRoom 317 2
  SendToRoom 309 2
  SendToRoom 318 2
  SendToRoom 319 2
END_COMMAND

COMMAND WEST
  AtLocation 20
  IsWearing 207
  PrintMessage 100
  GoToRoom 36
  DoneWithTurn
END_COMMAND

COMMAND WEST
  AtLocation 3
  NOT IsWearing 203
   OR
  NOT IsWearing 207
   OR
  IsWearing 204
  PrintMessage 81
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND WEST
  AtLocation 3
  FlagOFF 2
  ToggleFlag 2
  TurnCounterON 1
  PrintMessage 82
  BlankLine
  DoneWithTurn
END_COMMAND

COMMAND WEST
  IsNowhere 321
  AtLocation 80
  GoToRoom 79
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 3 0
  GoToRoom 103
  ChangePassageway 9 88
  ChangePassageway 10 73
  ChangePassageway 3 80
  DoneWithTurn
END_COMMAND

COMMAND UNSCREW HOOK WITH KEY
  AtLocation 93
  InRoom 296
  IsCarrying 294
  GetIt 295
  SendToRoom 296 2
  PrintMessage 153
  DoneWithTurn
END_MESSAGE

COMMAND UNSCREW ANY
  PrintMessage 152
  DoneWithTurn
END_MESSAGE

COMMAND UP
  IsNowhere 321
  AtLocation 73
  GoToRoom 79
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 3 0
  GoToRoom 103
  ChangePassageway 9 88
  ChangePassageway 10 73
  ChangePassageway 3 80
  DoneWithTurn
END_COMMAND

COMMAND UP
  IsNowhere 321
  AtLocation 78
  GoToRoom 87
  ChangePassageway 9 0
  ChangePassageway 10 0
  ChangePassageway 4 0
  GoToRoom 102
  ChangePassageway 9 98
  ChangePassageway 10 78
  ChangePassageway 4 84
  DoneWithTurn
END_COMMAND

COMMAND UP
  AtLocation 5
  CounterGT 1 4
  TurnCounterOFF 1
  PrintMessage 68
  BlankLine
  GoToRoom 3
  DoneWithTurn
END_COMMAND

